package cn.mengfly.testnrz.im.client;

public class ProtoInstant {


    public enum ResultCodeEnum {
        SUCCESS(0, "SUCCESS"),
        AUTH_FAILED(1, "登录失败"),
        NO_TOKEN(2, "没有权限码"),
        UNKNOWN_ERROR(3, "未知错误");

        private final Integer code;
        private final String desc;

        ResultCodeEnum(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public Integer getCode() {
            return code;
        }

        public String getDesc() {
            return desc;
        }
    }
}
